QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

# 这里的文件都是放在目录下的
SOURCES += \
    lua5/src/lapi.c \
    lua5/src/lauxlib.c \
    lua5/src/lbaselib.c \
    lua5/src/lcode.c \
    lua5/src/lcorolib.c \
    lua5/src/lctype.c \
    lua5/src/ldblib.c \
    lua5/src/ldebug.c \
    lua5/src/ldo.c \
    lua5/src/ldump.c \
    lua5/src/lfunc.c \
    lua5/src/lgc.c \
    lua5/src/linit.c \
    lua5/src/liolib.c \
    lua5/src/llex.c \
    lua5/src/lmathlib.c \
    lua5/src/lmem.c \
    lua5/src/loadlib.c \
    lua5/src/lobject.c \
    lua5/src/lopcodes.c \
    lua5/src/loslib.c \
    lua5/src/lparser.c \
    lua5/src/lstate.c \
    lua5/src/lstring.c \
    lua5/src/lstrlib.c \
    lua5/src/ltable.c \
    lua5/src/ltablib.c \
    lua5/src/ltm.c \
    lua5/src/lundump.c \
    lua5/src/lutf8lib.c \
    lua5/src/lvm.c \
    lua5/src/lzio.c \
    main.cpp \
    mainbox.cpp \
    qconfigtools.cpp \
    qlinetools.cpp \
    qloghelper.cpp \
    qlua.cpp \
    qprinttools.cpp

INCLUDEPATH += $$PWD/./lua5/src

HEADERS += \
    mainbox.h \
    qconfigtools.h \
    qlinetools.h \
    qloghelper.h \
    qlua.h \
    qprinttools.h

FORMS += \
    mainbox.ui

# 设置程序图标
RC_ICONS =$$PWD/HJ.ico

# 版本信息
VERSION = 1.0.0

# 公司名称
QMAKE_TARGET_COMPANY = "Abing"

# 产品名称
QMAKE_TARGET_PRODUCT = "PrintTools"

# 文件说明
QMAKE_TARGET_DESCRIPTION = "Zebra label printer AIDS"

# 版权信息
QMAKE_TARGET_COPYRIGHT = "Copyright 2020-2026 The Qt Company Ltd. All rights reserved."

# 中文（简体）
RC_LANG = 0x0004

# APP生成目录
DESTDIR = $$PWD/APP
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Resource.qrc
